package com.basic.business.finance.mapper;

import com.basic.business.finance.domain.TMoneyRules;
import com.basic.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 账单规则Mapper接口
 * 
 * @author zhaoxy_jn@163.com
 */
public interface TMoneyRulesMapper extends BaseMapper<TMoneyRules> {

    /**
     * 查询正常账单规则
     */
    List<TMoneyRules> getNormalMoneyRules();

    /**
     * 批量更新状态
     * @param ids 主键编号集合
     * @param status 状态
     */
    int updateStatusByIds(@Param("ids") String[] ids, @Param("status") String status);
}
